<html>
<!-- =====================================================================

  File:      Generated file for Adventure Works Cycles Storefront Sample
  Summary:   Self-documentation for application
  Date:	     June 16, 2003

=====================================================================

  This file is part of the Microsoft SQL Server Code Samples.
  Copyright (C) 2003 Microsoft Corporation.  All rights reserved.

This source code is intended only as a supplement to Microsoft
Development Tools and/or on-line documentation.  See these other
materials for detailed information regarding Microsoft code samples.

THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.

======================================================= -->
<head>
  <link rel=stylesheet href=style.css>
</head>
<body>
<div class=SourcePanel style="font-size:12">
<pre style="background-color:white">
<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">%@</span> <span style="color: #2040a0">Page</span> <span style="color: #2040a0">Language=</span><span style="color: #444444">&quot;c#&quot;</span> <span style="color: #2040a0">masterpagefile=</span><span style="color: #444444">&quot;~/masterpage.master&quot;</span> <span style="color: #2040a0">Inherits=</span><span style="color: #444444">&quot;Microsoft.Samples.SqlServer.Login&quot;</span> <span style="color: #2040a0">CodeFile=</span><span style="color: #444444">&quot;Login.aspx.cs&quot;</span> <span style="color: #2040a0">%</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>

<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">asp:content</span> <span style="color: #2040a0">id=</span><span style="color: #444444">&quot;Content1&quot;</span> <span style="color: #2040a0">contentplaceholderid=</span><span style="color: #444444">&quot;ContentPlaceHolder1&quot;</span> <span style="color: #2040a0">runat=</span><span style="color: #444444">&quot;server&quot;</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>
<span style="color: #008000">&lt;!-- =====================================================================

  File:      Login.aspx for Adventure Works Cycles Storefront Sample
  Summary:   Authenticates the user
  Date:	     June 16, 2003

=====================================================================

  This file is part of the Microsoft SQL Server Code Samples.
  Copyright (C) Microsoft Corporation.  All rights reserved.

This source code is intended only as a supplement to Microsoft
Development Tools and/or on-line documentation.  See these other
materials for detailed information regarding Microsoft code samples.

THIS CODE AND INFORMATION ARE PROVIDED &quot;AS IS&quot; WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.

======================================================= --&gt;</span>

<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">table</span> <span style="color: #2040a0">cellspacing=</span><span style="color: #444444">&quot;0&quot;</span> <span style="color: #2040a0">cellpadding=</span><span style="color: #444444">&quot;0&quot;</span> <span style="color: #2040a0">width=</span><span style="color: #444444">&quot;100%&quot;</span> <span style="color: #2040a0">border=</span><span style="color: #444444">&quot;0&quot;</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>
	<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">tr</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>
		<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">td</span> <span style="color: #2040a0">class=</span><span style="color: #444444">&quot;ContentHead&quot;</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>
			<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">img</span> <span style="color: #2040a0">align=</span><span style="color: #444444">&quot;left&quot;</span> <span style="color: #2040a0">height=</span><span style="color: #444444">&quot;32&quot;</span> <span style="color: #2040a0">width=</span><span style="color: #444444">&quot;60&quot;</span> <span style="color: #2040a0">src=</span><span style="color: #444444">&quot;images/1x1.gif&quot;</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>Sign Into Your 
			Account
			<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">br</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>
		<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">/td</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>
	<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">/tr</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>
<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">/table</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>
<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">br</span> <span style="color: #2040a0">/</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>
<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">br</span> <span style="color: #2040a0">/</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>
<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">img</span> <span style="color: #2040a0">align=</span><span style="color: #444444">&quot;left&quot;</span> <span style="color: #2040a0">height=</span><span style="color: #444444">&quot;1&quot;</span> <span style="color: #2040a0">width=</span><span style="color: #444444">&quot;92&quot;</span> <span style="color: #2040a0">src=</span><span style="color: #444444">&quot;images/1x1.gif&quot;</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>
<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">table</span> <span style="color: #2040a0">height=</span><span style="color: #444444">&quot;100%&quot;</span> <span style="color: #2040a0">cellspacing=</span><span style="color: #444444">&quot;0&quot;</span> <span style="color: #2040a0">cellpadding=</span><span style="color: #444444">&quot;0&quot;</span> <span style="color: #2040a0">border=</span><span style="color: #444444">&quot;0&quot;</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>
	<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">tr</span> <span style="color: #2040a0">valign=</span><span style="color: #444444">&quot;top&quot;</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>
		<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">td</span> <span style="color: #2040a0">width=</span><span style="color: #444444">&quot;550&quot;</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>
            <span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">asp:login</span> <span style="color: #2040a0">id=</span><span style="color: #444444">&quot;Login1&quot;</span> <span style="color: #2040a0">runat=</span><span style="color: #444444">&quot;server&quot;</span> <span style="color: #2040a0">usernamelabeltext=</span><span style="color: #444444">&quot;Email:&quot;</span> <span style="color: #2040a0">failuretext=</span><span style="color: #444444">&quot;Your sign in attempt was not successful. Please try again.&quot;</span> <span style="color: #2040a0">loginbuttonimageurl=</span><span style="color: #444444">&quot;images/sign_in_now.gif&quot;</span> <span style="color: #2040a0">loginbuttontype=</span><span style="color: #444444">&quot;Image&quot;</span> <span style="color: #2040a0">createusertext=</span><span style="color: #444444">&quot;Register&quot;</span> <span style="color: #2040a0">createuserurl=</span><span style="color: #444444">&quot;Register.aspx&quot;</span> <span style="color: #2040a0">font-size=</span><span style="color: #444444">&quot;Smaller&quot;</span> <span style="color: #2040a0">font-names=</span><span style="color: #444444">&quot;Verdana&quot;</span> <span style="color: #2040a0">onauthenticate=</span><span style="color: #444444">&quot;Login1_Authenticate&quot;</span> <span style="color: #2040a0">passwordrequirederrormessage=</span><span style="color: #444444">&quot;A password is required&quot;</span> <span style="color: #2040a0">usernamerequirederrormessage=</span><span style="color: #444444">&quot;A valid email addres is required&quot;</span> <span style="color: #2040a0">titletext=</span><span style="color: #444444">&quot;&quot;</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>
            <span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">/asp:login</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>
			
			<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">span</span> <span style="color: #2040a0">class=</span><span style="color: #444444">&quot;Normal&quot;</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span><span style="color: #ff0000">&amp;nbsp;</span>If you are a new user and you don't have an account with Adventure Works Cycles, then register for one now.<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">/span</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>
		<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">/td</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>
	<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">/tr</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>
<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">/table</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>

<span style="color: #2040a0"><strong><span style="color: #4444FF"><strong>&lt;</strong></span><span style="color: #2040a0">/asp:content</span><span style="color: #4444FF"><strong>&gt;</strong></span></strong></span>

</pre>
